/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csc668868webappteamsp12aproject1;

/**
 *
 * @author Jeff
 */
public class LineItem {
    private String upc;
    private int quantity;
    
/**
 *  Construct a new Line Item
 */
    public LineItem() {
        upc = "";
        quantity = 0;
    }

    public String getUPC() {
        return upc;
    }
    
    public void setUPC(String newUPC) {
        upc = newUPC;
    }

    public int getQuantity() {
        return quantity;
    }
    
    public void setQuantity(int newQuantity) {
        quantity = newQuantity;
    }    
    
    public void print() {
        System.out.println("upc: " + upc + " quantity: " + quantity);
    }
}
